package com.niuwa.p2p.dao.promotion;

import java.util.List;
import java.util.Map;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.promotion.Promotion;
@MyBatisDao
public interface PromotionMapper {
    int deleteByPrimaryKey(Integer promotionId);

    int insert(Promotion record);

    int insertSelective(Promotion record);

    Promotion selectByPrimaryKey(Integer promotionId);

    int updateByPrimaryKeySelective(Promotion record);

    int updateByPrimaryKey(Promotion record);
    
    List<Promotion> selectByParam(Map map);
    
    int selectCountByParam(Map map);
} 